<template>
  <div class="user">
    <h2>个人信息</h2>
    <div class="user_img">
      <p>头像：</p>
      <img src="@/assets/logo.png" alt="" class="img" />
    </div>
    <!-- <p>用户名：{{user.username}}</p>
        <p>邮箱：{{user.emila}}</p>
        <p>权限：{{user.limit}}</p> -->
    <p>用户名：xue</p>
    <p>邮箱：1228629512@qq.com</p>
    <p>权限：<span>超级管理员</span></p>
  </div>
</template>

<script>
export default {
  // data() {
  //   return {
  //     user,
  //   };
  // },
};
</script>

<style scoped>
.user {
  height: 90%;
  text-align: left;
  margin: 30px 0 0 30px;
  padding: 30px 0 0 30px;
  border: 1px solid #eee;
}
h2 {
  margin: 25px 0;
}
.user_img {
  display: flex;
}
.user_img p {
  width: 90px;
  text-align: center;
  font-size: 20px;
}
.img {
  width: 100px;
  height: 100px;
}
.user p {
  height: 50px;
  margin: 20px 0;
}
.user span {
    background-color: #ecf5ff;
    border-color: #d9ecff;
    display: inline-block;
    height: 32px;
    padding: 0 10px;
    line-height: 30px;
    font-size: 12px;
    color: #409EFF;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    box-sizing: border-box;
}
</style>